<?php

namespace app\admin\controller;

use think\Controller;

class Test extends Controller
{
	/**
	 * 初始化方法
	 * @Author   zhibin
	 * @DateTime 2021-12-19
	 * @return   [type]     [description]
	 */
	public function initialize()
	{

	}

	/**
	 * 入口
	 * @Author   zhibin
	 * @DateTime 2021-12-19
	 * @return   [type]     [description]
	 */
	public function index()
	{

	}

	/**
	 * 生成密码
	 * @Author   zhibin
	 * @DateTime 2021-12-19
	 * @return   [type]     [description]
	 */
	public function passwd()
	{
		$password = 'admin';
		$password = md5($password);
		return md5($password . config('whisper.salt'));
	}
}